Rank-Select Indices Without Tears

نویسندگان

  • Tim Baumann
  • Torben Hagerup
چکیده

A rank-select index for a sequence B = (b1, . . . , bn) of n bits, where n ∈ N = {1, 2, . . .}, is a data structure that, if provided with an operation to access Θ(log n) arbitrary consecutive bits of B in constant time (thus B is stored outside of the data structure), can compute rankB(j) = ∑j i=1 bi for given j ∈ {0, . . . , n} and selectB(k) = min{j ∈ N | rankB(j) ≥ k} for given k ∈ {1, . . . , ∑n i=1 bi}. We describe a new rank-select index that, like previous rank-select indices, occupies O(n log log n/log n) bits and executes rank and select queries in constant time. Its derivation is intended to be particularly easy to follow and largely free of tedious low-level detail, its operations are given by straight-line code, and we show that it can be constructed in O(n/log n) time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Effect of Time after Anterior Cruciate Ligament Tears on Proprioception and Postural Stability

This study was designed to compare proprioception and postural stability in patients with acute (time from injury ≤ 3 months) and chronic (time from injury > 3 months) ACL tears, and to evaluate the correlation between time interval after ACL injury and proprioception. Thigh muscle strength, postural stability, and joint position sense were compared in 48 patients with acute ACL tears and in 28...

متن کامل

Indices to Quantify the Ranking of Arabic Journals and Research Output

I propose two simple indices to classify journals, published in Arabic language, and different researchers. These indices depend upon the known impact factor and h-index. The new indices give an easy way to judge the rank of any journal (output of any researcher) without looking for other journals (output of other researchers).

متن کامل

The h-index in medical education: an analysis of medical education journal editorial boards

BACKGROUND Disciplines differ in their authorship and citation practices, thus discipline-specific h-index norms are desirable. Thus the goal of this study was to examine the relationship between the h-index and academic rank in the field of medical education, and the differences in the h-index between MD's and PhD's in this field. METHODS Due to the absence of a formalized registry of medica...

متن کامل

Meniscal Roots: Current Concepts Review

Meniscal root tears are defined as radial tears located within 1 cm from the meniscal attachment or a bony rootavulsion. This injury is biomechanically comparable to a total meniscectomy, leading to compromised hoop stressesresulting in decreased tibiofemoral contact area and increased contact pressures in the involved compartment.These changes are detrimental to the articular cartilage and ult...

متن کامل

Retinal pigment epithelial tears following ranibizumab therapy for fibrovascular retinal pigment epithelial detachment due to occult age-related macular degeneration

BACKGROUND The aim of this paper is to report the incidence of retinal pigment epithelial (RPE) tears in patients treated with ranibizumab for subfoveal fibrovascular retinal pigment epithelial detachment (FVPED) due to occult age-related macular degeneration (AMD). MATERIAL/METHODS Thirty patients were treated according to the following schedule: saturation phase, further treatment was based...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1709.02377  شماره 

صفحات  -

تاریخ انتشار 2017